const env = 'demo';
// 访问后端地址

const loginUrl = // "https://192.168.31.195"
`https://ivcs-${env}.zealcomm.cn`;

// 当文件走aws存储的方式，需要配置如下地址，才能加载资源文件
// https://ivcs-${env}.zealcomm.cn/ivcs/api/v1/fileplay?fileKey=
const awsFileUrl =  ``;

// 邀请访客链接地址
const customerUrl = `https://ivcs-${env}.zealcomm.cn/customer/start?inviteCode=`;

// 登录公钥
const publicKey = '030dfaba306b62b4dedc874aeb2714180155394043474889032faa64cd4e4bee08';

// 表单服务地址
const formUrl = `https://ivcs-${env}.zealcomm.cn/form/form-preview`;


// 静态资源替换
const resourceOriginUrlDomain = 'ivcs-nginx';
const resourceReplaceUrlDomain = `ivcs-${env}.zealcomm.cn`;
const urlMapping = {
	'ivcs-nginx': `ivcs-${env}.zealcomm.cn`
};

// 白板相关配置
const whiteboardInfo ={
	hostName: `https://ivcs-${env}.zealcomm.cn`, // 白板服务地址
	whiteboardPath:'/customer/static/whiteboard', // 白板服务地址path
}

const logLevel = 1;

const defaultMediaOptions = {
	cameraStreamAudioConstraints: { deviceId: void 0, source: 'mic' },
	cameraStreamVideoConstraints: { deviceId: void 0, frameRate: 15, resolution: { width: 640, height: 480 }, source: 'camera' },
	cameraPublishOptions: {
		audio: [{ codec: { name: 'opus' } }],
		video: [
			{ codec: { name: 'h264' }, maxBitrate: 1024 },
			{ codec: { name: 'vp8' }, maxBitrate: 1024 },

		]
	},
	screenStreamAudioConstraints: { source: 'screen-cast' },
	screenStreamVideoConstraints: { frameRate: 15, resolution: { width: 1280, height: 720 }, source: 'screen-cast' },
	screenPublishOptions: {
		audio: [{ codec: { name: 'opus' }, maxBitrate: 64 }],
		video: [
			{ codec: { name: 'vp8' }, maxBitrate: 1024 },
			{ codec: { name: 'h264' }, maxBitrate: 1024 }
		]
	}
};

//上传文件最大大小
const maxUploadFileSize = 1024000 * 50;

